package com.wyix.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/**
 * @author wangdx
 * @since 2025/8/8
 */
@Configuration
// 扫描除了控制器之外的所有组件，排除@Controller注解的类
@ComponentScan(basePackages = "com.wyix",
        excludeFilters = {
                @ComponentScan.Filter(type = FilterType.ANNOTATION, value = EnableWebMvc.class)
        })
public class RootConfig {
}
